export default [
  {
    path: "/",
    name: "home",
    component: () => import("@/views/home/index.vue"),
    children: [
      {
        path: "",  // button 按钮路由  也是默认路由
        name: "button",
        component: () => import("/packages/button/doc/doc.md"),
      },
      {
        path: "input", // input输入框路由
        name: "input",
        component: () => import("/packages/input/doc/doc.md"),
      },
      {
        path: "textarea", // input输入框路由
        name: "textarea",
        component: () => import("/packages/textarea/doc/doc.md"),
      },
    ],
  },
  {
    path: "/test",//我是一个测试页面 todo=> delete
    name: "test",
    component: () => import("@/views/home/test.vue"),
  },
];
